package model;

import java.io.Serializable;
import java.util.Date;

// JavaBean
public class Department implements Serializable {

    public Department(){}
    private String dId;// UUID
    private String dName;// 部门名称
    private String dDesc;// 部门描述
    private Date dTime;// 部门更新时间
    public Department(String dId) {
        this.dId = dId;
    }
    public String getdId() {
        return dId;
    }

    public void setdId(String dId) {
        this.dId = dId;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getdDesc() {
        return dDesc;
    }

    public void setdDesc(String dDesc) {
        this.dDesc = dDesc;
    }

    public Date getdTime() {
        return dTime;
    }

    public void setdTime(Date dTime) {
        this.dTime = dTime;
    }

    @Override
    public String toString() {
        return  dId + dName + dDesc + dTime.toString() ;
    }
}
